#pragma once

#include "FCProperties.h"

namespace UIStone
{
	class FCController_Margin : public FCPropertyContainer
		<
			Loki::TL::MakeTypelist
			<
				FCPropertyMarginTop,
				FCPropertyMarginBottom,
				FCPropertyMarginLeft,
				FCPropertyMarginRight,
				FCPropertyMarginTopPercent,
				FCPropertyMarginBottomPercent,
				FCPropertyMarginLeftPercent,
				FCPropertyMarginRightPercent
			>::Result
		>
	{
	public:
		FCController_Margin()
		{
			_defaultValue();
		}

		virtual ~FCController_Margin() {}

	private:
		void _defaultValue()
		{
			MarginTop() = MarginBottom() = MarginLeft() = MarginRight() = 
			MarginTopPercent() = MarginBottomPercent() = MarginLeftPercent() = MarginRightPercent() = 0;
		}
	};
};